home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Suzy B Software 2
/
Suzy B Software CD-ROM 2 (1994).iso
/
extras
/
programm
/
gemfsc19
/
gemfsc19.lzh
/
GEMFBIND
/
VGCHAR.S
< prev
next >
Wrap
Text File
|
1993-03-16
|
983b
|
38 lines
;*========================================================================
;* VDIFAST Public Domain VDI bindings.
;*========================================================================
;*------------------------------------------------------------------------
;* v_gchar - Output a single character of graphics text using v_gtext.
;*------------------------------------------------------------------------
globl _v_gchar
_v_gchar:
; .cargs #8,handle.w,x.w,y.w,char.w
handle = 8
x = 10
y = 12
char = 14
link a6,#0
; VContrl #8,,#1,#1
move.w handle(a6),-(sp) ; contrl[6]
clr.l -(sp) ; contrl[5,4]
move.w #1,-(sp) ; contrl[3]
subq.l #2,sp ; contrl[2]
move.w #1,-(sp) ; contrl[1]
move.w #8,-(sp) ; contrl[0]
subq.l #8,sp ;* -> ptsout, intout
pea x(a6) ;* -> ptsin
pea char(a6) ;* -> intin
pea 16(sp) ;* -> contrl
jmp vdicall
end